package com.app.service.impl;

import com.app.model.Article;
import com.app.mapper.ArticleMapper;
import com.app.service.IArticleService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 文章内容表 服务实现类
 * </p>
 *
 * @author yoominic
 * @since 2025-01-21
 */
@Service
public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, Article> implements IArticleService {

    @Override
    public IPage<Article> adminPage(Page<Article> articlePage, String title, Integer cid) {
        return this.baseMapper.adminPage(articlePage,title,cid);
    }
}
